#!/usr/bin python3
# -*- coding:UTF-8 -*-
# Author: nigo
import plotly.express as px
import pandas as pd
# 数据
df = pd.read_clipboard(delimiter='\s+',thousands=',')
# 创建figure对象 画布和轨迹
fig = px.sunburst(df,path=df.columns[:-1],values=df.columns[-1])
# 显示画布
fig.show()


